<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<jsp:include page="/BaseFrame.jsp"></jsp:include>
<html>
  <head>
	<meta charset="utf-8">
	<title>Welcome</title>
  </head>
  <body>
    <script type="text/javascript">
    function popup(){
    	window.showModelessDialog('/phyane/netpage/bbs/sub/UserRegister.jsp', '', 'height=100, width=400, top=0,left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no');
//    	window.open('/phyane/netpage/bbs/subpage/UserRegister.jsp', '', 'height=100, width=400, top=0,left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no');
    }
    </script>
	<s:form name="login" action="Login" method="post" >
	  <s:label>Welcome to Phyane Inc.</s:label>
	  <s:textfield name="user.name" label="User"/>
	  <s:password name="user.passwd"  label="Password"/>
	  <s:submit value="Submit"/>
	</s:form>
	<button name="Registe" onclick="popup()">Registe</button>
  </body>
</html>